//
//  MSEssenceController.m
//  百思不得姐
//
//  Created by 马赛亮 on 16/5/6.
//  Copyright © 2016年 马赛亮. All rights reserved.
//

#import "MSEssenceController.h"
#import "UIBarButtonItem+Extension.h"

@interface MSEssenceController ()

/**保存按钮状态**/
@property (nonatomic, weak) UIButton *seletedBtn;
/**保存按钮的状态**/
@property (nonatomic, strong) UIView *redIndedicatorView;
/**保存按钮的状态**/
@property (nonatomic, weak) UIView *titlesView;
/**UIScrollView**/
@property (nonatomic, weak) UIScrollView *conterview;
/**记录选中的次数**/
@property (nonatomic, assign) NSUInteger selectIndex;

@end

@implementation MSEssenceController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)setUpNavigation {
    self.navigationItem.titleView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"MainTitle"]];
    
    UIBarButtonItem *item = [UIBarButtonItem initWithBackGroudImage:@"MainTagSubIcon" highlightedImage:@"MainTagSubIconClick" targer:self action:@selector(onClick)];
    self.navigationItem.leftBarButtonItem = item;
}






- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
